package com.project.mapper;

import com.project.bean.EUserBean;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.ResultMap;
import org.apache.ibatis.annotations.Select;

/**
 * @author lyl
 * description:
 */
public interface IEUserMapper {
    /**
     * 登录
     *
     * @param name
     * @param password
     * @return
     */
    @Select("select * from t_eUser where u_username = #{name} and u_password = #{password}")
    @ResultMap("userMap")
    EUserBean login(@Param("name") String name, @Param("password") String password);
}
